load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "crdb",
    srcs = [
        "common.go",
        "error.go",
        "testing_util.go",
        "tx.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/cockroach-go/crdb",
    importpath = "github.com/cockroachdb/cockroach-go/crdb",
    visibility = ["//visibility:public"],
    deps = ["//vendor/github.com/lib/pq"],
)
